package biz.bbtec.sbm.store.factory;

import biz.bbtec.sbm.store.service.AddressService;

public class AddressFactory {
	
	private static AddressFactory instance;
	private AddressService address;
	
	private AddressFactory(){
		address = new AddressService();
	}
	
	public static synchronized AddressFactory getInstance(){
		if(instance == null){
			instance = new AddressFactory();
		}
		return instance;
	}
	
	public AddressService creattemService(){
		return address;
	}
}
